package com.lbj.mall.product.entity.vo;

import com.lbj.mall.product.entity.SkuImagesEntity;
import com.lbj.mall.product.entity.SkuInfoEntity;
import com.lbj.mall.product.entity.SpuInfoDescEntity;
import lombok.Data;

import java.util.List;

@Data
public class SkuItemVo {

    /**
     * sku基本信息获取 pms_sku_info
     */
    private SkuInfoEntity info;

    // 是否有货
    private boolean hasStock = true;

    /**
     * sku的图片信息 pms_sku_images
     */
    private List<SkuImagesEntity> images;

    /**
     * spu的销售属性组合
     */
    private List<SaleAttrVo> saleAttr;

    /**
     * spu的介绍
     */
    private SpuInfoDescEntity desc;

    /**
     * 获取spu的规格参数信息
     */
    private List<AttrGroupVo> groupAttrs;
}
